package com.maxlen.goods.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.maxlen.common.valid.AddValid;
import com.maxlen.common.valid.StatusValue;
import com.maxlen.common.valid.UpdateValid;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.*;
import java.io.Serializable;

/**
 * 品牌
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 09:43:29
 */
@Data
@TableName("pms_brand")
public class BrandEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 品牌id
	 */
	@TableId
	private Long brandId;

	/**
	 * 品牌名
	 */
	private String name;

	/**
	 * 品牌logo地址
	 */
	private String logo;

	/**
	 * 介绍
	 */
	private String descript;

	/**
	 * 显示状态[0-不显示；1-显示]
	 */
	private Integer showStatus;

	/**
	 * 检索首字母
	 */
	private String firstLetter;

	/**
	 * 排序
	 */
	private Integer sort;

}
